import request from '@/utils/request'
// -------- 消息模板 --------

let BASE_ADDRESS = '/base/messageTemp'

// 分页查询  /base/messageTemp/list
export const getMessageTempListApi = (params)=> {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: "get",
        params
    })
}

// 新增一条 /base/messageTemp/add
export const addMessageTempApi = (data) =>{
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: "post",
        data
    })
}